package com.rfsp.mcp.mapper;

import com.rfsp.common.base.BaseMapper;
import com.rfsp.mcp.pojo.po.AgreementRecordPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AgreementRecordMapper extends BaseMapper<AgreementRecordPO> {


    @Select("SELECT * FROM M_AGREEMENT_RECORD T WHERE T.org_id = #{orgId} and agreement_no=#{agreementNo}")
    public List<AgreementRecordPO> getRecord(@Param("orgId") long orgId, @Param("agreementNo") String agreementNo);
}
